import EnumRouter from './EnumRouter';

/**
 * 空间模块左侧菜单枚举
 */
export const EnumGroupMenu: any = [
  {
    title: "大屏管理",
    icon: "icon-screen",
    url: [EnumRouter.group_manage_dashboard],
  },
  {
    title: "报表管理",
    icon: "icon-report",
    url: [EnumRouter.group_manage_report],
  },
  {
    title: "数据管理",
    icon: "icon-files",
    children: [
      {
        title: "数据源",
        icon: "icon-datasource",
        url: [EnumRouter.group_manage_database],
      },
      {
        title: "数据模型",
        icon: "icon-setting",
        url: [EnumRouter.group_manage_dataModel],
      },
      {
        title: "数据表预览",
        icon: "icon-setting",
        url: [EnumRouter.group_manage_dbPreview],
      },
      {
        title: "SQL模型",
        icon: "icon-setting",
        url: [EnumRouter.group_manage_sql],
      },
      {
        title: "数据值映射",
        icon: "icon-setting",
        url: [EnumRouter.group_manage_rename],
      },
      {
        title: "三维场景管理",
        icon: "icon-setting",
        url: [EnumRouter.group_manage_scene],
      },
    ]
  },
  {
    title: "系统设置",
    icon: "icon-setting",
    children: [
      {
        title: "轮播设置",
        icon: "icon-setting",
        url: [EnumRouter.group_manage_slider,]
      },
      {
        title: "角色管理",
        icon: "icon-setting",
        url: [EnumRouter.group_manage_role],
      },
      {
        title: "用户管理",
        icon: "icon-setting",
        url: [EnumRouter.group_manage_user],
      },
      {
        title: "导入导出",
        icon: "icon-setting",
        url: [EnumRouter.group_manage_export],
      },
      {
        title: "空间设置",
        icon: "icon-setting",
        url: [EnumRouter.group_manage_setting],
      },
      {
        title: "访问统计",
        icon: "icon-setting",
        url: [EnumRouter.group_manage_statistics],
      }
    ]
  }
];

/**
 * 四大平台路由集合
 * @type {{title: string, value: string, childrenMenu: *[]}[]}
 */
export const EnumMainMenus = [
  {
    label: "dv",
    value: "dv",
    childrenMenu: EnumGroupMenu,
  },
];
